<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

// [ 应用入口文件 ]
namespace think;

// 定义应用目录
define('ROOT_PATH', __DIR__ );
// 定义应用目录
define('APP_PATH', __DIR__ . '/../admin/');
// 定义默认模板主题
define('THEME_NAME',  'defualt');
// 定义模板路径
define('THEME_PATH', __DIR__ . '/../admin/theme/'.THEME_NAME.'/');
//定义静态文件路径
define('STATIC_PATH', '/static/');
//定义静态插件文件路径
define('PLUGIN_PATH', '/static/plugin');


// 加载基础文件
require __DIR__ . '/../thinkphp/base.php';



// 执行应用并响应
Container::get('app')->path(APP_PATH)->run()->send();